//Student1.java
public class Student1 extends School {
    public Student1(String className) {
        super(className);
    }

    public void study(){
        System.out.println(this.className+"认真学习");
    }
    @Override
    public void play() {
        System.out.println(this.className+"正在打篮球");
    }
}












//    public int age;
//
//    public Student1(String schoolName, int age) {
//        super(schoolName);
//        this.age = age;
//    }